package cn.tedu.property_management_system.service;


import cn.tedu.property_management_system.entity.Meter;
import cn.tedu.property_management_system.entity.dto.MeterDTO;
import cn.tedu.property_management_system.entity.VO.MeterVO;
import cn.tedu.property_management_system.entity.dto.MeterSO;
import cn.tedu.property_management_system.utils.JsonPage;

import java.util.List;

public interface IMeterService {

    Long addMeter(MeterVO meterVO);

    int deleteMeter(Long id);

    int deleteMeters(List<Long> ids);

    List<MeterSO> selectMeter(MeterDTO meterDTO);

    List<MeterSO> selectListMeter();

    void initCache();


    void rebuildCache();

    List<String> selectHouse();

    void startCache();

    JsonPage<MeterSO> pageSelect(Integer pageSize, Integer pageIndex);


}
